package com.dc.aimc.auth.vo;

import com.dc.aimc.user.entity.App;
import com.dc.aimc.user.entity.User;
import lombok.Data;

@Data
public class LoginResult {
    private String access_token;
    private String token_type;
    private Long expires_in;
    private User user;
    private App app;

    public LoginResult() {
    }

    public LoginResult(String access_token, String token_type, Long expires_in) {
        this.access_token = access_token;
        this.token_type = token_type;
        this.expires_in = expires_in;
    }

    public LoginResult(String access_token, App app) {
        this.access_token = access_token;
        this.app = app;
    }
}
